From: Joan Torres Lopez Date: Thu, 12 Feb 2026 15:38:54 +0000 (+0100) Subject: unlockDialog: Wait for authPrompt destruction before switching VT X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~9^2^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ea662dd2f26a839b76a939211516dc398fc56816;p=gnome-shell.git unlockDialog: Wait for authPrompt destruction before switching VT When switching to another user, wait until authPrompt is destroyed and the clock transition animation completes before switching to the login session VT. Part-of: (cherry picked from commit 5f7eb76031dc795a593e859566f519a458a81698) --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 971438a7c..0d4d79833 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -899,8 +899,7 @@ export const UnlockDialog = GObject.registerClass({ } _otherUserClicked() { - Gdm.goto_login_session_sync(null); - + this._authPrompt.connect('destroy', () => Gdm.goto_login_session_sync(null)); this._authPrompt.cancel(); }